<script setup lang='ts'>
import { useChatStore } from '@/stores'

const router = useRouter()
const chatStore = useChatStore()

if (chatStore.first_chat) {
  router.push(chatStore.first_chat)
}
</script>
<template>
  <div class="chat-list">
    <div class="img"></div>
  </div>
</template>
<style scoped lang='scss'>
.chat-list {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  .img {
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-image: url('@/assets/images/logo3.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
}
</style>